package com.zhangshitong.springbootModel;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.event.EventListener;

/**
 * 
 * @author zst
 *
 */
@SpringBootApplication(exclude=ErrorMvcAutoConfiguration.class)
public class App 
{
    public static void main( String[] args )
    {
    	SpringApplication.run(App.class, args);
    	/*SpringApplication app = new SpringApplication(App.class);
    	ConfigurableApplicationContext context =app.run(args);
    	context.close();*/
    }
}
